package net.wanho.hospital.po;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * <p>
 * 
 * </p>
 *
 * @author 汤小洋
 * @since 2023-12-27
 */
@TableName("patient_user")
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PatientUser对象", description="")
public class Patient implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonProperty("pId")
    @TableId(type = IdType.AUTO)
    private Integer pId;

    @JsonProperty("pPassword")
    private String pPassword;

    @JsonProperty("pName")
    private String pName;

    @JsonProperty("pGender")
    private String pGender;

    @JsonProperty("pPhone")
    private String pPhone;

    @JsonProperty("pCard")
    private String pCard;

    @JsonProperty("pEmail")
    private String pEmail;

    @JsonProperty("pState")
    private Integer pState;

    @JsonProperty("pBirthday")
    private String pBirthday;

    @JsonProperty("pAge")
    private Integer pAge;

}
